/*
 * ChooseTaxInvoiceContract.java
 * business
 *
 * Created by ChenTao on 2017/1/7.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.main.shoppingcart.chooseinvoice.tax;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;
import com.yidiandao.business.data.bean.TaxInvoice;

/**
 * 选择增值税发票-契约类
 *
 * <p>Created by ChenTao(chentao7v@gmail.com) on 2017/2/8 15:42
 */
public class ChooseTaxInvoiceContract {

    interface Presenter extends BasePresenter {

//        boolean reShowTaxInvoice();

        boolean checkInputAddData();

        void addTaxInvoice();

        void changeTaxInvoice(TaxInvoice taxInvoice);

//        void postRefreshConfirmOrderEvent();

        void onConfirmTaxInvoice();
    }

    interface View extends BaseView<Presenter> {

        void refreshUI(TaxInvoice taxInvoice);

        void stopInputContent();

        String getCompanyName();

        String getTaxpayerNumber();

        String getRegisterAddress();

        String getRegisterNumber();

        String getBankName();

        String getBankNumber();

        String getReceiverName();

        String getReceiverNumber();

        String getReceiverAddress();

        void showLoadingDialog();

        void hideLoadingDialog();

        void finishActivity();
    }
}
